.rs-header-language {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-right: 18px;
}

.rs-header-language a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 8px;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.rs-header-language a.active,
.rs-header-language a:hover {
    background: #EA5501;
    border-color: #EA5501;
    color: #fff;
}

.rs-footer-widget-links a.active {
    color: #EA5501;
}

.dynamic-content {
    line-height: 1.8;
}

.dynamic-content h2,
.dynamic-content h3,
.dynamic-content h4 {
    margin-top: 24px;
    margin-bottom: 10px;
}

.dynamic-content ul {
    padding-left: 22px;
    margin-bottom: 18px;
}

.product-gallery-area {
    padding-top: 70px;
}

.product-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 34px;
}

.product-filter a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid #e6e8ee;
    border-radius: 8px;
    background: #fff;
    color: #1f2937;
    font-weight: 700;
}

.product-filter a.active,
.product-filter a:hover {
    background: #EA5501;
    border-color: #EA5501;
    color: #fff;
}

.single-category-title {
    margin-bottom: 28px;
}

.single-category-title span {
    display: block;
    color: #EA5501;
    font-weight: 800;
    margin-bottom: 4px;
}

.single-category-title h2 {
    margin: 0;
}

.front-product-grid,
.front-document-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.front-product-card,
.front-document-card,
.front-document-button {
    display: grid;
    gap: 12px;
    width: 100%;
    border: 1px solid #e6e8ee;
    border-radius: 8px;
    background: #fff;
    color: #1f2937;
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(17, 24, 39, .06);
}

.front-product-card img,
.front-document-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: #f4f6f8;
}

.front-product-card span,
.front-document-card span,
.front-document-button span {
    display: block;
    padding: 0 15px 16px;
    font-weight: 800;
}

.front-document-button {
    border: 1px solid #e6e8ee;
    cursor: pointer;
    text-align: left;
    padding: 0;
}

.front-document-icon {
    display: grid;
    place-items: center;
    aspect-ratio: 4 / 3;
    background: #f6f7fb;
    color: #EA5501;
    font-size: 58px;
}

.document-modal-frame {
    width: 100%;
    min-height: min(76vh, 760px);
    border: 0;
}

.empty-front-state {
    margin: 0;
    padding: 34px;
    border: 1px solid #e6e8ee;
    border-radius: 8px;
    background: #fff;
    color: #667085;
    font-weight: 700;
}

@media (max-width: 1199px) {
    .rs-header-language {
        margin-right: 10px;
    }

    .front-product-grid,
    .front-document-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .front-product-grid,
    .front-document-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .rs-header-language {
        display: none;
    }
}

@media (max-width: 480px) {
    .front-product-grid,
    .front-document-grid {
        grid-template-columns: 1fr;
    }
}
